package com.accp.hib;

import java.util.HashSet;
import java.util.Set;

/**
 * Tip entity. @author MyEclipse Persistence Tools
 */

public class Tip implements java.io.Serializable {

	// Fields

	private Integer tipId;
	private Users usersByBoardId;
	private Users usersByUserId;
	private String title;
	private String content;
	private String publishTime;
	private String realFile;
	private String makeFile;
	private Set replies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tip() {
	}

	/** minimal constructor */
	public Tip(Users usersByBoardId, Users usersByUserId, String title,
			String content, String publishTime) {
		this.usersByBoardId = usersByBoardId;
		this.usersByUserId = usersByUserId;
		this.title = title;
		this.content = content;
		this.publishTime = publishTime;
	}

	/** full constructor */
	public Tip(Users usersByBoardId, Users usersByUserId, String title,
			String content, String publishTime, String realFile,
			String makeFile, Set replies) {
		this.usersByBoardId = usersByBoardId;
		this.usersByUserId = usersByUserId;
		this.title = title;
		this.content = content;
		this.publishTime = publishTime;
		this.realFile = realFile;
		this.makeFile = makeFile;
		this.replies = replies;
	}

	// Property accessors

	public Integer getTipId() {
		return this.tipId;
	}

	public void setTipId(Integer tipId) {
		this.tipId = tipId;
	}

	public Users getUsersByBoardId() {
		return this.usersByBoardId;
	}

	public void setUsersByBoardId(Users usersByBoardId) {
		this.usersByBoardId = usersByBoardId;
	}

	public Users getUsersByUserId() {
		return this.usersByUserId;
	}

	public void setUsersByUserId(Users usersByUserId) {
		this.usersByUserId = usersByUserId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getRealFile() {
		return this.realFile;
	}

	public void setRealFile(String realFile) {
		this.realFile = realFile;
	}

	public String getMakeFile() {
		return this.makeFile;
	}

	public void setMakeFile(String makeFile) {
		this.makeFile = makeFile;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

}